home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / daemons / lprm_fix.z / lprm_fix / lpr / lprm-diffs < prev    next >
Encoding:
Text File  |  1993-05-07  |  1.3 KB  |  40 lines

  1. *** rmjob.c    Tue May  4 21:40:47 1993
  2. --- ../../lpr/common_source/rmjob.c    Wed May  5 21:42:57 1993
  3. ***************
  4. *** 102,108 ****
  5.   
  6.       if (chdir(SD) < 0)
  7.           fatal("cannot chdir to spool directory");
  8. !     if ((nitems = scandir(".", &files, iscf, NULL)) < 0)
  9.           fatal("cannot access spool directory");
  10.   
  11.       if (nitems) {
  12. --- 102,108 ----
  13.   
  14.       if (chdir(SD) < 0)
  15.           fatal("cannot chdir to spool directory");
  16. !     if ((nitems = scandir(".", &files, iscf, alphasort)) < 0)
  17.           fatal("cannot access spool directory");
  18.   
  19.       if (nitems) {
  20. *** pathnames.h    Tue May  4 21:40:46 1993
  21. --- ../../lpr/common_source/pathnames.h    Tue May  4 23:05:30 1993
  22. ***************
  23. *** 42,48 ****
  24.   #define    _PATH_MASTERLOCK    "/var/spool/output/lpd.lock"
  25.   #define    _PATH_PR        "/usr/bin/pr"
  26.   #define    _PATH_PRINTCAP        "/etc/printcap"
  27. ! #define    _PATH_SOCKETNAME    "/var/run/printer"
  28.   #define    _PATH_VFONT        "/usr/libdata/vfont/"
  29.   #define    _PATH_VFONTB        "/usr/libdata/vfont/B"
  30.   #define    _PATH_VFONTI        "/usr/libdata/vfont/I"
  31. --- 42,49 ----
  32.   #define    _PATH_MASTERLOCK    "/var/spool/output/lpd.lock"
  33.   #define    _PATH_PR        "/usr/bin/pr"
  34.   #define    _PATH_PRINTCAP        "/etc/printcap"
  35. ! /*#define    _PATH_SOCKETNAME    "/var/run/printer"*/
  36. ! #define    _PATH_SOCKETNAME    "/dev/printer"
  37.   #define    _PATH_VFONT        "/usr/libdata/vfont/"
  38.   #define    _PATH_VFONTB        "/usr/libdata/vfont/B"
  39.   #define    _PATH_VFONTI        "/usr/libdata/vfont/I"
  40.